<?php
/**
 * Created by PhpStorm.
 * User: lzy
 * Date: 2018/11/8
 * Time: 10:25
 */
namespace App\FreeBird\Contracts;
/**
 * 商店
 * Interface InfoInterface
 * @package App\FreeBird\Contracts
 */
interface  StoreInterface{

    /**
     * 获取信息列表
     * @param $where
     * @return mixed
     */
    public function getList($where);


    /**
     * 根据经纬最近距离排序
     * @param $where
     * @param $data
     * @return mixed
     */
    public function getListJili($where,$data);
    /**
     * 保存数据
     * @param $data
     * @return mixed
     */
    public function saveData($data);

    /**
     * 保存与更新数据
     * @param $data
     * @return mixed
     */
    public function setStoreInfo($data);

    /**
     * 获取单条数据
     * @param $where
     * @return mixed
     */
    public function getInfo($where);

    /**
     * 删除数据
     * @param $where
     * @return mixed
     */
    public function deleteData($where);


}